//
//  TSItemClickType.swift
//  Picture
//
//  Created by 王磊 on 04/05/2017.
//  Copyright © 2017 ThreeStone. All rights reserved.
//

import UIKit

enum TSItemClickType: String {
    
    case PictureItem
    
    case LabelItem
    
    case Comment
    
    case Confirm
    
    case Male
    
    case Female
    
    case ButtonItem
    
    case UnKnown
    
    case TableViewItem
    
    init(string: String) {
        switch string {
        case "0":
            self = .PictureItem
        case "1":
            self = .LabelItem
        case "2":
            self = .Comment
        case "3":
            self = .Confirm
        default:
            self = .UnKnown
        }
    }
}
